package com.hwtx.form.dto;

import com.google.common.collect.Maps;
import io.geekidea.boot.framework.page.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Map;

import static com.hwtx.form.domain.FormConstants.RET_TYPE_LIST;

@EqualsAndHashCode(callSuper = true)
@Data
public class FormListQuery extends BasePageQuery {
    @Schema(description = "表单id")
    Long formId;
    @Schema(description = "返回类型")
    int retType = RET_TYPE_LIST;
    @Schema(description = "搜索数据")
    Map<String, String[]> searchData = Maps.newLinkedHashMap();
    @Schema(description = "搜索数据")
    Map<String, Object> searchPostData = Maps.newLinkedHashMap();
}
